package com.river.boot.biz.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.river.boot.biz.model.entity.Shop;
import com.river.boot.biz.model.form.ShopForm;

/**
 * 店铺管理对象转换器
 *
 * @author JiangCheng Xiang
 * @since 2025-04-24 11:56
 */
@Mapper(componentModel = "spring")
public interface ShopConverter{

    ShopForm toForm(Shop entity);

    Shop toEntity(ShopForm formData);
}